﻿using System;

public partial class _Default : Facebook.Web.CanvasFBMLBasePage
{
    protected void Page_PreInit(object sender, EventArgs e)
    {
        base.RequireLogin = true;
        
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        Facebook.Schema.user user = Api.Users.GetInfo();
        Response.Write("Hello " + user.name + " you have total " + user.notes_count  + " notes.");
    }
}
